<html><head>
<style>
span[class~="test"] { background-color:yellow; } 
</style></head>
<body readonly>
text
</body>
</html>